# coding: utf-8
from sqlalchemy import Column, DateTime, String
from application import db


# db = SQLAlchemy()


class ArticleSource(db.Model):
    __tablename__ = 'article_source'

    source_id = db.Column(db.String(50), primary_key=True)
    Relation_id = db.Column(db.String(50), nullable=False)
    source_type = db.Column(db.String(50))
    source_content = db.Column(db.String(5000))
    remark = db.Column(db.String(50))
    CreateTime = db.Column(db.DateTime)
    CreateUser = db.Column(db.String(50))
    ModifyTime = db.Column(db.DateTime)
    ModifyUser = db.Column(db.String(50))
